package ase.eleitweg.server;

import java.rmi.*;
import ase.eleitweg.common.*;
import ase.eleitweg.common.fail.*;

public interface LoginInterface<SC extends ServerHandle> extends
		Remote {
	public SC login(String username, String md5passwd) throws RemoteException,AuthorisationException;

	public User getMe(String username, String md5passwd) throws RemoteException, AuthorisationException;

	public void addClientHandle(ClientHandle ch) throws RemoteException;
}
